<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			//微信 返回跳转
					window.history.pushState({title: "title",url: "index.html"}, "title", "index.html");
				window.addEventListener("popstate", function(e) {
					location.href ="index.html";
				}, false);
			
			
				//地址栏取值
							function GetQueryString(name)
{
     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  unescape(r[2]); return null;
}
	//取值，hc==传参参数
	GetQueryString("hc")		
		</script>
		
	</body>
</html>
